import Vue from 'vue'
import VueRouter from 'vue-router'
// import HomeView from '../views/HomeView.vue'


Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home',
    component: () => import('../views/home.vue')
  },
  {
    path: '/one',
    name: 'one',
    component: () => import('../views/one.vue')
  },
  {
    path: '/two',
    name: 'two',
    component: () => import('../views/two.vue')
  }
  // {
  //   path: '/',
  //   redirect: "/home"
  // }

  
]

const router = new VueRouter({
  routes
})

export default router
